home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir40 / pb24.zip / WINDOWS.TXT < prev   
Text File  |  1993-12-13  |  3KB  |  56 lines

  1.  
  2.     Using Playback within Windows.
  3.  
  4.     Can you use Playback within Microsoft Windows?  The answer is Yes and 
  5.     No.  It all depends on what you're trying to do. 
  6.  
  7.     If you load Playback before loading Windows in the hope that you will 
  8.     be able to replay or capture keystrokes while in the Windows program 
  9.     manager, you'll be disappointed.  Playback will not record nor 
  10.     playback while in the Windows program manager itself.  Program 
  11.     manager locks up the keyboard tighter than a drum.  However, if you 
  12.     were to open a DOS window or run a DOS application thru Windows, 
  13.     Playback would record and playback within that window.  But don't do 
  14.     it.  Here's why: 
  15.  
  16.     Let's say you have two open windows and you want to playback a 
  17.     keyfile in one of the windows while you work in the other.  So you go 
  18.     to the window that you want to run the keyfile in and you enter the 
  19.     keyfile name at the DOS prompt (or launch it from MENU, or hit the 
  20.     playback hot key....) and the keyfile starts working.  So now you 
  21.     switch to the other window.  To your surprise, Playback continues to 
  22.     replay the keystrokes all right, but in the new window now, not the 
  23.     window you initiated it in.  Not much use for that. 
  24.  
  25.     However, don't despair, as there is a perfectly good way to run a 
  26.     Keyfile as a background window process.  Instead of running your 
  27.     normal application in the window, instead create a DOS batch file 
  28.     that first loads Playback (put PB as the first command in the batch 
  29.     file) and then loads the application.  Then, any records and 
  30.     playbacks you do will be confined only to that window.  You can do 
  31.     this in as many windows as you want.  
  32.  
  33.     This can be really spiffy.  Suppose you want to run a keyfile in the 
  34.     background while you write a letter in the foreground.  Simple.  
  35.     Let's assume you've previously recorded a Keyfile by the name of 
  36.     WORK.  Create a batch file with this in it: 
  37.  
  38.     PB
  39.     WORK
  40.  
  41.     and save it as WORKER.BAT (or any other name you want).  Then crank 
  42.     up Windows.  You could create a new application that runs WORKER.BAT 
  43.     or you could just run it from the Program Manager.  Once it's 
  44.     running, then open a new window to write your letter.  WORKER.BAT 
  45.     will run in the background window by first loading Playback (PB) and 
  46.     then executing the WORK keyfile.  Of course, since it's running in 
  47.     the background it will execute slower than if it wasn't in the 
  48.     background.  But don't worry about the delay between keystrokes, 
  49.     because Windows takes care of all that.  Of course it won't run in 
  50.     the background if the window it's running in isn't configured to run 
  51.     in the background.
  52.  
  53.     Clear as mud?  All you need remember is not to load Playback before 
  54.     running Windows.  If you need Playback then load it within each of 
  55.     the windows you want to use it in.
  56.